<?php
class Zend_View_Helper_CKEditor {
    function CKEditor( $textareaId ) {
         return "<script type=\"text/javascript\">
                       CKEDITOR.replace( '". $textareaId ."' );
                  </script>";
    }
}
?>

<?php
   $this->layout()->ckeditor = true;
?>
<textarea id="editor1"></textarea>
<?php echo $this->setupEditor( 'editor1' ); ?>